package cn.coisini.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

/**
 * @author xiangshaw
 * Description: 路由显示信息
 */
@Tag(name = "路由显示信息")
@Data
public class MetaVo {

    @Schema(description = "设置该路由在侧边栏和面包屑中展示的名字")
    private String title;

    @Schema(description = "设置该路由的图标，对应路径src/assets/icons/svg")
    private String icon;

    public MetaVo(String title, String icon) {
        this.title = title;
        this.icon = icon;
    }
}
